<?php

class Soul_Validation_Rule_Character extends Soul_Validation_Rule_Base {

    public function __construct(){
        parent::__construct();
    }

    public function getType(){
        return 'character';
    }

    public function check($value) {
        return preg_match("/[a-zA-Z0-9]+/", $value) > 0;
    }
}